package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同类型-提示词关联对象 contract_type_prompt
 * 
 * @author ruoyi
 */
public class ContractTypePrompt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同类型ID */
    @Excel(name = "合同类型ID")
    private Long typeId;

    /** 提示词ID */
    @Excel(name = "提示词ID")
    private Long promptId;

    /** 是否默认提示词（Y是 N否） */
    @Excel(name = "是否默认提示词", readConverterExp = "Y=是,N=否")
    private String isDefault;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setPromptId(Long promptId) 
    {
        this.promptId = promptId;
    }

    public Long getPromptId() 
    {
        return promptId;
    }

    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("promptId", getPromptId())
            .append("isDefault", getIsDefault())
            .append("createTime", getCreateTime())
            .toString();
    }
}
